import request from '@/utils/request'

export function getMenu(data = false) {
  return request({
    url: `/v1/menu?all=${data}`, 
    method: 'get'
  })
}

export function getWxMenu(data = false) {
  return request({
    url: `/v1/menu/wx?all=${data}`, 
    method: 'get'
  })
}
